package com.atguigu.springboot.mapper;

import com.atguigu.springboot.entity.Employee;
import org.apache.ibatis.annotations.Param;

/**
 * @author : wenchao.long
 * @date : Created in 2020/11/25 15:42 周三
 * @description :
 */
public interface EmployeeMapper {

    /**
     * 通过id查询
     *
     * @param id id
     * @return Employee
     */
    Employee getById(@Param("id") Integer id);

    /**
     * 插入
     *
     * @param employee employee
     */
    void insert(Employee employee);
}
